home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1320 / 1320.xpi / chrome / gmanager.jar / skin / classic / overlay.css < prev   
Cascading Style Sheet File  |  2010-01-22  |  4KB  |  145 lines

  1. @import url("chrome://global/skin/");
  2. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  3.  
  4. /*
  5.   Gmail Manager
  6.   By Todd Long <longfocus@gmail.com>
  7.   http://www.longfocus.com/firefox/gmanager/
  8. */
  9.  
  10. /*** General ***/
  11.  
  12. .gmanager-bold {
  13.     font-weight: bold;
  14. }
  15.  
  16. .gmanager-indent {
  17.     margin-left: 10px;
  18. }
  19.  
  20. /*** Bindings ***/
  21.  
  22. .gmanager-account-info {
  23.     -moz-binding: url("chrome://gmanager/content/overlay.xml#gmanager-account-info") !important;
  24. }
  25.  
  26. .gmanager-toolbar-menuitem {
  27.     -moz-binding: url("chrome://gmanager/content/overlay.xml#gmanager-toolbar-menuitem") !important;
  28. }
  29.  
  30. /*** Toolbar Panel *****/
  31.  
  32. toolbar .gmanager-account-info {
  33.     -moz-appearance: toolbarbutton !important;
  34. }
  35.  
  36. statusbar .gmanager-account-info {
  37.     -moz-appearance: statusbarpanel !important;
  38. }
  39.  
  40. .gmanager-account-info {
  41.     border: none !important;
  42.     margin: 0;
  43.     padding: 0 2px;
  44. }
  45.  
  46. .gmanager-account-info tooltip {
  47.     padding: 6px 6px 4px 4px;
  48. }
  49.  
  50. .gmanager-account-info tooltip label {
  51.     margin: 0 4px 2px 0;
  52. }
  53.  
  54. /*** Account information ***/
  55.  
  56. .gmanager-icon {
  57.     margin: 0 5px 0 3px;
  58. }
  59.  
  60. .gmanager-unread, .gmanager-alias {
  61.     display: block;
  62.     margin: 0 3px 0 0;
  63. }
  64.  
  65. .gmanager-unread[value=""], .gmanager-alias[value=""] {
  66.     display: none;
  67. }
  68.  
  69. /*** Throbber image ***/
  70.  
  71. image[status="connecting"] {
  72.     opacity: 0.5;
  73. }
  74.  
  75. /*** Large image ***/
  76.  
  77. .gmanager-icon[icontype="gmail"] {
  78.     list-style-image: url(chrome://gmanager/skin/gmail/gmail-large.png);
  79. }
  80.  
  81. .gmanager-icon[status="logged-out"] {
  82.     -moz-image-region: rect(0px 24px 24px 0px); /* Logged out */
  83. }
  84.  
  85. .gmanager-icon[status="logged-in"][newMail="false"] {
  86.     -moz-image-region: rect(0px 72px 24px 48px); /* Logged in (no mail) */
  87. }
  88.  
  89. .gmanager-icon[status="logged-in"][newMail="true"] {
  90.     -moz-image-region: rect(0px 96px 24px 72px); /* Logged in (new mail) */
  91. }
  92.  
  93. .gmanager-icon[status="error"] {
  94.     -moz-image-region: rect(0px 48px 24px 24px); /* Error */
  95. }
  96.  
  97. .gmanager-icon[status="connecting"] {
  98.     list-style-image: url(chrome://gmanager/skin/throbber/throbber-large.gif);
  99.     -moz-image-region: rect(0px 20px 20px 0px); /* Throbber */
  100. }
  101.  
  102. /*** Small image ***/
  103.  
  104. toolbar[type="menubar"] .gmanager-icon[icontype="gmail"],
  105. toolbar[iconsize="small"] .gmanager-icon[icontype="gmail"],
  106. statusbar .gmanager-icon[icontype="gmail"],
  107. .gmanager-icon[iconsize="small"][icontype="gmail"] {
  108.     list-style-image: url(chrome://gmanager/skin/gmail/gmail-small.png);
  109. }
  110.  
  111. toolbar[type="menubar"] .gmanager-icon[status="logged-out"],
  112. toolbar[iconsize="small"] .gmanager-icon[status="logged-out"],
  113. statusbar .gmanager-icon[status="logged-out"],
  114. .gmanager-icon[iconsize="small"][status="logged-out"] {
  115.     -moz-image-region: rect(0px 16px 16px 0px); /* Logged out */
  116. }
  117.  
  118. toolbar[type="menubar"] .gmanager-icon[status="logged-in"][newMail="false"],
  119. toolbar[iconsize="small"] .gmanager-icon[status="logged-in"][newMail="false"],
  120. statusbar .gmanager-icon[status="logged-in"][newMail="false"],
  121. .gmanager-icon[iconsize="small"][status="logged-in"][newMail="false"] {
  122.     -moz-image-region: rect(0px 48px 16px 32px); /* Logged in (no mail) */
  123. }
  124.  
  125. toolbar[type="menubar"] .gmanager-icon[status="logged-in"][newMail="true"],
  126. toolbar[iconsize="small"] .gmanager-icon[status="logged-in"][newMail="true"],
  127. statusbar .gmanager-icon[status="logged-in"][newMail="true"],
  128. .gmanager-icon[iconsize="small"][status="logged-in"][newMail="true"] {
  129.     -moz-image-region: rect(0px 64px 16px 48px); /* Logged in (new mail) */
  130. }
  131.  
  132. toolbar[type="menubar"] .gmanager-icon[status="error"],
  133. toolbar[iconsize="small"] .gmanager-icon[status="error"],
  134. statusbar .gmanager-icon[status="error"],
  135. .gmanager-icon[iconsize="small"][status="error"] {
  136.     -moz-image-region: rect(0px 32px 16px 16px); /* Error */
  137. }
  138.  
  139. toolbar[type="menubar"] .gmanager-icon[status="connecting"],
  140. toolbar[iconsize="small"] .gmanager-icon[status="connecting"],
  141. statusbar .gmanager-icon[status="connecting"],
  142. .gmanager-icon[iconsize="small"][status="connecting"] {
  143.     list-style-image: url(chrome://gmanager/skin/throbber/throbber-small.gif);
  144.     -moz-image-region: rect(0px 16px 16px 0px); /* Throbber */
  145. }